Commands Bound to Letters

  • Commands in italic are new commands in GnollHack that do not appear in NetHack.
Key Key Command Shift + Key Shift + Key Command Alt + Key Alt + Key Command Ctrl + Key Ctrl + Key Command
a Apply A Abilities (status screen) Alt-a Adjust Ctrl-a Repeat
b Take items out of bag in inventory B Put items into Bag in inventory Alt-b Toggle hitpoint bars (legacy GUI only) Ctrl-b Break
c Close door C Chat Alt-c Commands menu Ctrl-c Call
d Drop D Drop multiple Alt-d Dip Ctrl-d Kick
e Eat E Engrave Alt-e Wipe face Ctrl-e Detect (wizard mode only)
f Fire F Fight Alt-f Force lock Ctrl-f Reveal map (wizard mode only)
g Go mode — Rush G Go mode — Run Alt-g Genocided monsters Ctrl-g Dig
h Help H   Alt-h Handedness Ctrl-h  
i Inventory I Inventory of specific types Alt-i Invoke Ctrl-i Identify (wizard mode only)
j Jump J   Alt-j Jump Ctrl-j  
k Kick (when Vi-keys are disabled) K   Alt-k Vanquished creatures Ctrl-k  
l Loot L Look Alt-l Loot Ctrl-l Light/Snuff out
m Move mode — Rush M Move mode — Run Alt-m Genesis (wizard mode only) Ctrl-m  
n Number of actions1 N Name Alt-n Number of actions (alternate) Ctrl-n Annotate dungeon level
o Open door O Options Alt-o Offer sacrifice Ctrl-o Dungeon overview
p Pay bill P Put on Alt-p Pray Ctrl-p Previous message
q Drink (quaff) Q Quiver Alt-q Quit Ctrl-q  
r Read R Remove Alt-r Rub Ctrl-r Redraw screen
s Search S Skills Alt-s Save Ctrl-s Sit
t Throw T Take off Alt-t Take off many Ctrl-t Teleport
u Untrap U   Alt-u Untrap Ctrl-u  
v Version info V Game history info Alt-v GnollHack library info Ctrl-v Level teleport (wizard mode only)
w Wield weapon W Wear armor Alt-w Wear many Ctrl-w Wish (wizard mode only)
x Swap weapons X Mix spells Alt-x Examine Ctrl-x Dual weapon mode
y Take loot out of container on floor (yank) Y Put loot into container on floor (Yank) Alt-y Yell for pets Ctrl-y Yell for pets
z Zap wand Z Cast spell Alt-z View spell Ctrl-z  
  • 1 Number of actions works like this: You first press n, then write the number of actions in numerals, and then choose the action. For example, n20s searches 20 times.

Double Modifier Commands Bound to Letters

  • Commands in italic are new commands in GnollHack that do not appear in NetHack.
Shift + Alt + Key Shift + Alt + Key Command
Alt-A Annotate dungeon level
Alt-E Engrave quick (use preset writing)
Alt-M Use monster ability
Alt-N Name a monster or object class
Alt-P Apply Wielded Polearm1
Alt-R Mount or dismount a saddled steed (Ride)
Alt-T Empty a container (Tip)
Alt-W Wield a previously wielded weapon
Alt-X Apply a pick-axe or cutting tool quick
Alt-Y Toggle buff timers (legacy GUI only)
  • 1 The polearm can also be a swap weapon.

Other Commands

  • Commands in italic are new commands in GnollHack that do not appear in NetHack.
Key Key Command
, Pick up
; Pick up and stash
. Wait
: Near look (at the ground)
_ Travel
< Go up
> Go down
/ Far look
* Equipment (worn items)
" Show worn amulet
# Extended command
? Help
+ Spell menu
( List tools
) Show weapon
= Show worn rings
[ Show worn armor
} Character details (Describe your character)

Movement By Arrow Keys

Key Direction Ctrl + Key Direction Alt + Key Direction
↑ ↑ Ctrl + ↑ ↖ Alt + ↑ ↗
↓ ↓ Ctrl + ↓ ↙ Alt + ↓ ↘
← ← Ctrl + ← ↖ Alt + ← ↙
→ → Ctrl + → ↗ Alt + → ↘

Please see the table below for how the keys map by direction:

Ctrl + ↑
Ctrl + ←
↑
Alt + ↑
Ctrl + →
←
 
→
Ctrl + ↓
Alt + ←
↓
Alt + ↓
Alt + →

Movement by Number Pad

While Num Lock is on, you can use the number pad for movement.

  • 1–4, 6–9 for directions.
  • 5 in the middle enables the run mode.

Movement by Regular Number Keys

The directions work also without a number pad with regular number keys:

7 8 9
4 5 6
1 2 3

5 in the middle enables the run mode.

Zoom and View Controls

You can adjust the map zoom level using the following keyboard shortcuts:

Key Shortcut Command
Ctrl + Plus (+) or Alt + Plus (+) Zoom in
Ctrl + Minus (-) or Alt + Minus (-) Zoom out
Ctrl + Zero (0) or Alt + Zero (0) Reset zoom to normal
Ctrl + Period (.) or Alt + Period (.) Toggle zoom to fit screen (minimap mode)

Vi-Keys

You can activate vi-keys in one of the following ways:

  • In settings, enable Default Vi-Keys and ensure that number_pad is not set in options.
  • In settings, keep Default Vi-Keys disabled and set number_pad:0 in options.

When you have vi-keys enabled, you can use the following keys for movement:

y k u
h   l
b j n

Alternate Key Bindings When Vi-Keys Are Enabled

Normal Key Command Alternate Key
b Take items out of bag in inventory Alt-G
B Put items into Bag in inventory Alt-F
Ctrl-b Break Alt-B
j Jump Alt-j
k Kick Ctrl-d
l Loot Alt-l
Ctrl-l Light Alt-I
n Number of actions Automatic1
N Name Alt-N
u Untrap Alt-u
y Take loot out of container on floor (yank) Alt-D
Y Put loot into container on floor (Yank) Alt-C
  • 1 When you press a number key, the game automatically assumes that it's the number of actions command.